//
//  LZFMineCell.m
//  LZFBuDieJie
//
//  Created by 梁梓烽 on 16/6/23.
//  Copyright © 2016年 liangzifeng. All rights reserved.
//

#import "LZFMineCell.h"
#import "LZFMineItem.h"
#import <UIImageView+WebCache.h>


@interface LZFMineCell ()
@property (weak, nonatomic) IBOutlet UIImageView *iconImageView;

@property (weak, nonatomic) IBOutlet UILabel *nameLabel;

@end
@implementation LZFMineCell

- (void)awakeFromNib {
    // Initialization code
}


-(void)setMineItem:(LZFMineItem *)mineItem
{
    _mineItem=mineItem;
    
    [self.iconImageView sd_setImageWithURL:[NSURL URLWithString:mineItem.icon] placeholderImage:[UIImage imageNamed:@"setup-head-default"]];
    
    self.nameLabel.text=mineItem.name;
    
    
    
}
@end
